/*
 * @Date: 2025-09-09 14:57:35
 * @Auth: 463997479@qq.com
 * @LastEditors: 463997479@qq.com
 * @LastEditTime: 2025-09-15 14:13:01
 * @FilePath: \corpus\src\enum\index.ts
 */
export const typeEnum: Record<string, string> = {
  '0': '失败',
  '1': '解析向量化中',
  '2': '解析向量化成功',
  '3': '待解析向量化',
};

export const stateEnum: Record<string, string> = {
  REVIEWING: '待审核',
  REVIEW_APPROVE: '审核通过',
  REVIEW_REJECT: '审核驳回',
};
export const deptTypeEnum: Record<string, string> = {
  GR_TO_BM: '个人知识库-部门知识库',
  BM_TO_GG: '部门知识库-公共知识库',
};

export enum DeptTypeEnum {
  GR_TO_BM = 'GR_TO_BM',
  BM_TO_GG = 'BM_TO_GG',
}

export enum StateEnum {
  REVIEWING = 'REVIEWING',
  REVIEW_APPROVE = 'REVIEW_APPROVE',
  REVIEW_REJECT = 'REVIEW_REJECT',
}
export enum OPENENUM {
  PUBLICP = 'PUBLICP',
  PROTECTED = 'PROTECTED',
  PRIVATE = 'PRIVATE',
  DEPT = 'DEPT',
}

export enum SENSITIVEENUM {
  NO_SENSITIVE = 'NO_SENSITIVE',
  LOW_SENSITIVE = 'LOW_SENSITIVE',
  LITTLE_SENSITIVE = 'LITTLE_SENSITIVE',
  SENSITIVE = 'SENSITIVE',
}

export const openEnum: Record<string, string> = {
  PUBLICP: '无条件公开',
  DEPT: '部门公开',
  PROTECTED: '有条件公开',
  PRIVATE: '不予公开',
};
export const sensitiveEnum: Record<string, string> = {
  NO_SENSITIVE: 'L1不敏感',
  LOW_SENSITIVE: 'L2低敏感',
  LITTLE_SENSITIVE: 'L3较敏感',
  SENSITIVE: 'L4敏感',
};
export const shareType = [
  {
    label: '无条件共享',
    value: '1',
  },
  {
    label: '有条件共享',
    value: '2',
  },
  {
    label: '不共享',
    value: '3',
  },
];

export const openType = [
  {
    label: '无条件开放',
    value: 'PUBLICP',
  },
  {
    label: '有条件开放',
    value: 'PROTECTED',
  },
  {
    label: '不共享',
    value: 'PRIVATE',
  },
];

export const sensitiveType = [
  {
    label: 'L1不敏感',
    value: 'NO_SENSITIVE',
  },
  {
    label: 'L2不敏感',
    value: 'LOW_SENSITIVE',
  },
  {
    label: 'L3不敏感',
    value: 'LITTLE_SENSITIVE',
  },
  {
    label: 'L4不敏感',
    value: 'SENSITIVE',
  },
];
export const parsingType = [
  {
    label: '暂缓解析',
    value: '0',
  },
  {
    label: '解析中',
    value: '1',
  },
  {
    label: '解析失败',
    value: '2',
  },
  {
    label: '解析成功',
    value: '3',
  },
  {
    label: '待解析',
    value: '4',
  },
];
